import axios from 'axios';

export async function TestList() {
  return axios.get('http://localhost:8080/Test/Testlist')
    .then(response => response.data);
}

export async function TestDelete(record) {
  return axios({
    method:"delete",
    url: "http://localhost:8080/Test/delete",
    data: record
  })
}

export async function TestUpload(formData) {
  return axios({
    method:"post",
    url: "http://localhost:8080/Test/Upload",
    data: formData
  })
}

